IconTheme: Clear caches when reloading theme
authorAlexander Larsson <alexl@redhat.com>
Wed, 19 Jun 2013 07:35:24 +0000 (09:35 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 19 Jun 2013 07:40:19 +0000 (09:40 +0200)
commit1ee36713fe31b56df31b5ba3151c247bf4ee1f3c
treef13bc1c987def5dd0f2f7b90352115ad00e73eaa
parent280d606cd41c5d607e56d48e57bcba5b654cfa2e
IconTheme: Clear caches when reloading theme

When we're reloading the theme in ensure_valid_themes (due to noticing
that a theme dir has changed) we need to also clear the icon cache
as it will not be valid for the new theme.

We already do this in do_theme_change(), but ensure_valid_themes()
was missing this.

https://bugzilla.gnome.org/show_bug.cgi?id=702598
gtk/gtkicontheme.c